package ar.com.fiuba.team2.services.fake;

import java.rmi.RemoteException;

import org.apache.axis2.AxisFault;

import ar.fi.uba.taller2.participacion.interfaces.chat.ws.dummys.ChatImplServiceStub;

public class ChatImplServiceFakeStub extends ChatImplServiceStub {

	public ChatImplServiceFakeStub(String url) throws AxisFault {
	}

	@Override
	public PermisoCrearResponseE permisoCrear(PermisoCrearE permisoCrear0)
			throws RemoteException {

		PermisoCrearResponseE permisoCrear = new PermisoCrearResponseE();
		PermisoCrearResponse arg0 = new PermisoCrearResponse();
		arg0.set_return(true);
		permisoCrear.setPermisoCrearResponse(arg0);
		return permisoCrear;
	}
	
	@Override
	public PermisoLeerResponseE permisoLeer(PermisoLeerE permisoLeer2)
			throws RemoteException {

		PermisoLeerResponseE permisoLeer = new PermisoLeerResponseE();
		PermisoLeerResponse arg0 = new PermisoLeerResponse();
		arg0.set_return(true);
		permisoLeer.setPermisoLeerResponse(arg0);
		return permisoLeer;
	}
}
